//
//  UIColor+Extension.swift
//  SinaWebo
//
//  Created by 陶建 on 16/3/24.
//  Copyright © 2016年 taoJ. All rights reserved.
//

import UIKit

extension UIColor {
    class func randomColor() -> UIColor {
        let r: CGFloat = CGFloat(arc4random_uniform(256)) / 255
        let g: CGFloat = CGFloat(arc4random_uniform(256)) / 255
        let b: CGFloat = CGFloat(arc4random_uniform(256)) / 255
        return UIColor(red: r, green: g, blue: b, alpha: 1)
    }
}